Optimal. Leaf size=38 \[ \frac{b c \log \left (a+b x^2\right )}{2 a^2}-\frac{b c \log (x)}{a^2}-\frac{c}{2 a x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0237782, antiderivative size = 38, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {21, 266, 44} \[ \frac{b c \log \left (a+b x^2\right )}{2 a^2}-\frac{b c \log (x)}{a^2}-\frac{c}{2 a x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 266
Rule 44
Rubi steps
\begin{align*} \int \frac{a c+b c x^2}{x^3 \left (a+b x^2\right )^2} \, dx &=c \int \frac{1}{x^3 \left (a+b x^2\right )} \, dx\\ &=\frac{1}{2} c \operatorname{Subst}\left (\int \frac{1}{x^2 (a+b x)} \, dx,x,x^2\right )\\ &=\frac{1}{2} c \operatorname{Subst}\left (\int \left (\frac{1}{a x^2}-\frac{b}{a^2 x}+\frac{b^2}{a^2 (a+b x)}\right ) \, dx,x,x^2\right )\\ &=-\frac{c}{2 a x^2}-\frac{b c \log (x)}{a^2}+\frac{b c \log \left (a+b x^2\right )}{2 a^2}\\ \end{align*}
Mathematica [A] time = 0.0068979, size = 37, normalized size = 0.97 \[ c \left (\frac{b \log \left (a+b x^2\right )}{2 a^2}-\frac{b \log (x)}{a^2}-\frac{1}{2 a x^2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 35, normalized size = 0.9 \begin{align*} -{\frac{c}{2\,a{x}^{2}}}-{\frac{bc\ln \left ( x \right ) }{{a}^{2}}}+{\frac{bc\ln \left ( b{x}^{2}+a \right ) }{2\,{a}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.03755, size = 49, normalized size = 1.29 \begin{align*} \frac{b c \log \left (b x^{2} + a\right )}{2 \, a^{2}} - \frac{b c \log \left (x^{2}\right )}{2 \, a^{2}} - \frac{c}{2 \, a x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.25337, size = 88, normalized size = 2.32 \begin{align*} \frac{b c x^{2} \log \left (b x^{2} + a\right ) - 2 \, b c x^{2} \log \left (x\right ) - a c}{2 \, a^{2} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.408551, size = 32, normalized size = 0.84 \begin{align*} c \left (- \frac{1}{2 a x^{2}} - \frac{b \log{\left (x \right )}}{a^{2}} + \frac{b \log{\left (\frac{a}{b} + x^{2} \right )}}{2 a^{2}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18102, size = 63, normalized size = 1.66 \begin{align*} -\frac{b c \log \left (x^{2}\right )}{2 \, a^{2}} + \frac{b c \log \left ({\left | b x^{2} + a \right |}\right )}{2 \, a^{2}} + \frac{b c x^{2} - a c}{2 \, a^{2} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]